package com.retoc.oawx.domain.req;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel
public class ApproveCheckReq implements Serializable {
    //0为未审批，1为已审批
    @NotNull
    private int type;

    //单独查询待审批类型
    @NotNull
    private String types;

    @NotNull
    @Min(1)
    private Integer page;

    @NotNull
    @Range(min = 1, max = 40)
    private Integer length;
}
